import request from '../utils/request1';

export function getValveArrester(id) {
  return request({
    url: '/cv/stateEvaluation/arrester',
    method: 'post',
    data: {
      valvehallId: id
    }
  })
}

export function getValveTower(id) {
  return request({
    url: '/cv/stateEvaluation/valveTower',
    method: 'post',
    data: {
      valvehallId: id
    }
  })
}

export function getValveComponents(id, item) {
  return request({
    url: '/cv/stateEvaluation/valveModule',
    method: 'post',
    data: {
      valvehallId: id,
      valvetowerName: item
    }
  })
}
